@extends('admin.layout')

@section('content_header')
	create nikkei score rate
@stop

@section('content')
	<form method="post" action="{{isset($data)? route('admin.nikkeiscorerate.update', $data) : route('admin.nikkeiscorerate.store')}}">
		<div class="form-group">
			<label>min change</label>
			<input type="text" name="min_change" class="form-control" value="{{$data->min_change??''}}">
		</div>
		<div class="form-group">
			<label>max change</label>
			<input type="text" name="max_change" class="form-control" value="{{$data->max_change??''}}">
		</div>
		<div class="form-group">
			<label>rate</label>
			<input type="text" name="rate" class="form-control" value="{{$data->rate??''}}">
			
		</div>
		@csrf

		@isset($data) @method('PUT') @endisset
		<div class="form-group">
			<button class="btn btn-primary"> submit </button>
		</div>
	</form>
	@component('admin.error') @endcomponent
@stop